package com.example.micrweb.front.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: 注入配置文件中的短信配置
 * @author: uu
 * @data: 2023/7/15 下午 03:42
 * @version: v1.0
 */
@Component
@ConfigurationProperties(prefix = "sms")
@Getter
@Setter
public class smsConfig {
    private String url;
    private String appcode;
    private String appsecret;
    private String template_id;
}
